package com.tesis.koha_app_search;

import java.util.ArrayList;

import com.tesis.koha_app_biblioteca.R;
import com.tesis.koha_app_biblioteca.R.layout;
import com.tesis.koha_app_biblioteca.R.menu;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;

public class SearchActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_search);
		//ArrayList<Item> item = LectorRSS.LeerRSS("http://koha-test.uniminuto.edu:8001/cgi-bin/koha/opac-search.pl?idx=kw&q=economia&count=50&sort_by=acqdate_dsc&format=rss2");
		
		Button bt_Buscar = (Button) findViewById(R.id.btnBuscar);
		bt_Buscar.setOnClickListener(new View.OnClickListener() {
	        @Override
	        public void onClick(View v) {
System.out.print("click!!!")	;
}
	    });
	}
	

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.search, menu);
		return true;
	}

}
